<div ng-if="pagedata.op=='get'" class='fui-page  fui-page-current' >
    <div class="fui-header">
		<div class="title">会员登陆</div>
	</div>
	<div ng-if="pagedata.op=='get'" class='fui-content' style="margin-top:2.2rem">
		<div class="fui-cell-group" ng-show="pagedata.item.show_type">
			<div class="fui-tab fui-tab-success">
					<a ng-class="{'active':pagedata.item.login_type!=1}" ng-click="pagedata.item.login_type=0">账号登陆</a>
					<a ng-class="{'active':pagedata.item.login_type==1}" ng-click="pagedata.item.login_type=1">手机登陆</a>
			</div>
		</div>
		<div class="fui-cell-group" ng-show="pagedata.item.login_type != 1">
			<div class="fui-cell must">
				<div class="fui-cell-label">账号</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="请输入账号"  ng-model="pagedata.item.username" /></div>
			</div>
			<div class="fui-cell must ">
				<div class="fui-cell-label ">密码</div>
				<div class="fui-cell-info"><input type="password" class='fui-input' placeholder="请输入密码" ng-model="pagedata.item.password" /></div>
			</div>
		</div>
		<div class="fui-cell-group" ng-show="pagedata.item.login_type==1">
			<div class="fui-cell must">
				<div class="fui-cell-label">手机号</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="请输入您的手机号"  ng-model="pagedata.item.mobile" /></div>
				<div class="fui-cell-remark noremark"><a class="btn btn-default btn-default-o btn-sm" ng-click="tool.mobile_code(pagedata.item.mobile,'smscode')" id="smscode">获取验证码</a></div>
			</div>
			<div class="fui-cell must ">
				<div class="fui-cell-label ">验证码</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="请输入验证码" ng-model="pagedata.item.smscode" /></div>
			</div>
		</div>
		<a href='javascript:;' ng-click="post(pagedata.item,'login')" class='btn btn-success block'>登录</a>
		<a href='javascript:;' ng-if="pagedata.item.openid && !pagedata.openlogin" ng-click="post(pagedata.item,'wechat_login')" class='btn btn-success-o block'>
			微信一键登录
		</a>
		<a href='javascript:;' ng-if="pagedata.openlogin" ng-click="post(pagedata.item,'core/member.login/wxapp_login/')" class='btn btn-success-o block'>
			{{pagedata.opentitle}}一键登录
		</a>
		<div class="form-group other-login-line">			
				<div class="login-footer">还没有{{pagedata.name}}账号？<a class="action" href="javascript:;" ng-click="access_json(links('/member.register/'))">去注册</a></div>
		</div>
	</div>
	<div ng-if="pagedata.op=='sq_login'" class='fui-content' style="margin-top:2.7rem">
		<a href='javascript:;' ng-click="post(pagedata.item,'sq_login')" class='btn btn-success block'>确认登陆</a>
	</div>
	<div ng-include="sys_html('common/_footer')"></div>
</div>
<div ng-if="pagedata.op=='wxauth_check'" class="fui-page" style="height:auto;background:url('../core/resource/images/login-bg-sm.jpg') no-repeat 100%;background-size: 100%;">
	<div class="fui-content" style="background:none;padding:0.5rem">
		<div class="weui_cells_title" style="font-size:0.9rem;margin-top:2rem;color:#333"><img style="width:1.2rem;height:1.2rem;border-radius:50%" ng-src="{{tomedia(main.logo) || '../core/resource/images/nopic.jpg'}}"> {{pagedata.account.title}} 申请获取</div>
		<div class="weui_cells_title bold" style="font-size:1rem;margin-top:0.2rem;color:#000">以下信息</div>
		<div class="weui_cells" style="padding-left:10px">
            <div class="weui_cell">
                <div class="weui_cell_bd weui_cell_primary" style="padding-left:0.2rem">
                    <span>你的账号信息（昵称、头像、地区及性别）</span>
                </div>
            </div>
        </div>
		<div class="weui_cells weui_cells_checkbox" style="padding-left:10px;margin-top:0">
            <label class="weui_cell weui_check_label" for="s11">
                <div class="weui_cell_hd" style="padding-right:0;padding-left:0.2rem;">
                    <img ng-src="{{tomedia(pagedata.fans.avatar) || '../core/resource/images/nopic.jpg'}}" style="width:3rem;height:3rem;border-radius:0.3rem;margin-right:5px;display:block">
                </div>
                <div class="weui_cell_bd weui_cell_primary" style="padding-left:0.2rem">
                    <div style="color:#333;font-size:1rem;padding-bottom:0.3rem">{{pagedata.fans.nickname}}</div>
					<div class="subtitle">微信个人信息</div>
                </div>
				<div class="weui_cell_ft">
                    <input type="radio" class="weui_check" name="checkbox1" id="s11" checked="checked">
                    <span class="weui_icon_checked"></span>
                </div>
            </label>
        </div>
		<button class="weui_btn weui_btn_primary" style="margin: auto;margin-top:8rem;width:60%;" ng-click="access_json('core/member.login/sq_login/session_id='+pagedata.session_id+'&forward_url='+pagedata.forward_url)">授权登录</button>
		<button class="weui_btn weui_btn_disabled weui_btn_default" style="margin: auto;margin-top:0.4rem;width:60%;" ng-click="access_json('core/member.login/sq_login/session_id='+pagedata.session_id+'&forward_url='+pagedata.forward_url)">取消</button>
		<div class="footer-support">
			<div ng-if="main.js_supportimg" class="supportimg"><img ng-src="{{tomedia(main.js_supportimg) || '../core/resource/images/js_supportimg.png'}}"/></div>
			<div class="supporttitle">{{main.js_support}}提供技术支持</div>
		</div>
	</div>
</div>